package com.pj.wisdomlogistics.mvp.model;


import com.pj.wisdomlogistics.entity.response.BaseResponse;
import com.pj.wisdomlogistics.mvp.frame.MvpModel;

import rx.Observable;


public class ApplyCarModel extends MvpModel {
    public Observable<BaseResponse<Integer>> submitCarApply(
            String userID,
            String userName,
            String userTel,
            String applyDeptID,
            String applyDept,
            String officeTel,
            String applyReason,
            String goalPlace,
            String detailReason,
            String peopleCount,
            String usingTime,
            String linkman,
            String linkmanTel,
            int isAfterApply,
            String place
    ) {
        return mApiService.submitCarApply(
                userID,
                userName,
                userTel,
                applyDeptID,
                applyDept,
                officeTel,
                applyReason,
                goalPlace,
                detailReason,
                peopleCount,
                usingTime,
                linkman,
                linkmanTel,
                isAfterApply,
                place
        );
    }
}
